<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div shiro:hasPermission="users">
    进入用户列表功能：<a th:href="@{/users}">用户列表</a><br>
</div>
<div shiro:hasPermission="user:add">
    进入用户添加功能：<a th:href="@{/users/add}">用户添加</a>
</div>
<div shiro:hasPermission="user:edit">
    进入用户编辑功能：<a th:href="@{/users/edit}">编辑添加</a>
</div>
<a href="/login">登录</a>
<a href="/logout">退出</a>
</body>
</html>